<%-- 
    Document   : HistorialMedico
    Created on : 11/11/2012, 01:11:47 AM
    Author     : Casa
--%>

<%@page import="DTO.Administrador"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <%
       //Obtiener la sesion
       HttpSession sesion = request.getSession();
       Administrador admin = (Administrador) session.getAttribute("Administrador");
       //Valida el usuario 
       if(admin != null){ %>
    <head>
        <meta http-equiv="content-type" content="text/html;charset=utf-8" />          
        <title> Menú Principal | Consulta de historial médico </title>
        <link rel="stylesheet" type="text/css" href="css/style.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="css/menu.css" media="screen" />
        <link rel="shortcut icon" href="img/sign.ico"  type="image/x-icon"   />

        <script type="text/javascript" src="js/js_common.js"></script>

        <!-- css y js para el formulario -->
        <link rel="stylesheet" type="text/css" href="css/structure.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="css/form.css" media="screen"/>  
        <script type="text/javascript" src="js/seleccion.js"></script>
        <!-- css y js para validación -->
        <link rel="stylesheet" type="text/css" href="css/styleValidationEngine.css" media="screen" />
        <script type="text/javascript" src="jquery/jquery-1.8.2.min.js" charset="utf-8"></script>
        <script type="text/javascript" src="jquery/jquery.validationEngine-es.js" charset="utf-8"></script>
        <script type="text/javascript" src="jquery/jquery.validationEngine.js" charset="utf-8" ></script>
        
        <script type="text/javascript" >
            jQuery(document).ready(function(){
		jQuery("#consultar_historial").validationEngine();
		});
                    
        </script>
    </head>

    <body>
        <div id="wrap">
            <div id="top">
                <h2>Consultar Historial</h2>
               <div style="margin-left: 40%;margin-bottom: 3.6%;"> <h1>Usuario:<%= admin.getNombre() %></h1> </div>
                <a href="javascript:cerrar_sesion()">Cerrar sesi&oacute;n</a> 
            </div>
            <div style="color: #ffffff; margin-left:2%; font-size: 1.6em;">
                <script type="text/javascript" >
                    document.write(Muestrafecha()); 
                </script>
            </div>
            <div id="content">
                <div style="margin-top: 13%">
                    <div id="container" >
                        <form id="consultar_historial" name="consultar_historial" class="wufoo topLabel page formato_letra" autocomplete="off" method="post" novalidate
                              action="">
                            <div class="info formato_letra" >
                                <h2 info formato_letra>Registro de Consecutivos del Paciente</h2>
                                <div>(*) campo obligatorio </div>
                            </div>
                            <ul>
                                <li id="" class="notranslate formato_letra">
                                    <label class="desc" id="" for="" style="font-weight: bold;">
                                        Introduzca el número de cédula del paciente
                                        <span id="" class="req">*</span>
                                    </label>
                                    <span>
                                        <input id="" name="" type="text" class="field text fn validate[required,custom[onlyNumberSp]]" value=""  maxlength="255" tabindex="1" data-prompt-position="bottomRight:0"/>
                                    </span>
                                </li>
                                <div  style="float:left; margin-right: 3%">
                                    <input id="buscar" name="buscar" class="button" 
                                           type="submit" value="Buscar" />
                                </div>
                                <div style="float:left;">
                                    <input id="back1" name="back1" class="button" 
                                           type="button" value="Atrás"  onclick="parent.location='MenuP.jsp'"/>
                                </div>
                                </li>
                            </ul>
                        </form> 
                    </div>
                </div>
            </div> 
        </div>  
        <div style="margin-top: 6%">
         <div id="footer">
            <footer>
                <div><img src="img/footer_img.png" height="39" width="960" border="0"></div>
                <h4>
                    <a href="MapaSitio.jsp">MAPA DEL SITIO</a> | 
                    <a href="Desarrolladores.jsp" accesskey="H" onClick="popup = window.open('Desarrolladores.jsp', 'PopupPage','height=550,width=600,scrollbars=yes,resizable=no'); return false" target="_blank" onMouseOver="window.status='';  return true" onMouseOut="window.status=''; return true"onFocus="window.status='';  return true" onBlur="window.status=''; return true"  class="submenulinktext2">DESAROLLADORES</a> | 
                    <a href="Ayuda.jsp" accesskey="H" onClick="popup = window.open('Ayuda.jsp', 'PopupPage','height=550,width=600,scrollbars=yes,resizable=no'); return false" target="_blank" onMouseOver="window.status='';  return true" onMouseOut="window.status=''; return true"onFocus="window.status='';  return true" onBlur="window.status=''; return true"  class="submenulinktext2">AYUDA</a>
                </h4>
                <div class="ftext"> Tel:(506) 2246-3279 <br/> sapcomed &copy;  Todos los derechos reservados. Prohibida la reproducción total o parcial.</div>
            </footer>

        </div>
        </div>
    </body>
    <% } %>
</html>

